<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Creates a new DB++ relation</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.dbplus-rchperm.html">dbplus_rchperm</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.dbplus-rcrtexact.html">dbplus_rcrtexact</a></div>
 <div class="up"><a href="ref.dbplus.html">DB++ 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.dbplus-rcreate" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">dbplus_rcreate</h1>
  <p class="verinfo">(PHP 4 &lt;= 4.1.0, PECL dbplus &gt;= 0.9)</p><p class="refpurpose"><span class="refname">dbplus_rcreate</span> &mdash; <span class="dc-title">Creates a new DB++ relation</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.dbplus-rcreate-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">resource</span> <span class="methodname"><strong>dbplus_rcreate</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$name</code></span>
   , <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$domlist</code></span>
   [, <span class="methodparam"><span class="type">bool</span> <code class="parameter">$overwrite</code></span>
  ] )</div>

  <p class="para rdfs-comment">
   Creates a new relation. Any existing relation sharing the same
   <em><code class="parameter">name</code></em> will be overwritten if the relation is
   currently not in use and <em><code class="parameter">overwrite</code></em> is set to TRUE.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.dbplus-rcreate-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">name</code></em></dt>

     <dd>

      <p class="para">
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">domlist</code></em></dt>

     <dd>

      <p class="para">
       A combination of domains. May be passed as a single domain name string
       or as an array of domain names.
      </p>
      <p class="para">
       This parameter should contain the domain specification for the new
       relation within an array of domain description strings. A domain
       description string consists of a domain name unique to this
       relation, a slash and a type specification character. See the
       db++ documentation, especially the dbcreate(1) manpage, for a
       description of available type specifiers and their meanings.
      </p>
      <blockquote class="note"><p><strong class="note">Note</strong>: 
       <p class="para">
        This function will also accept a string with space delimited domain
        description strings, but it is recommended to use an array
       </p>
      </p></blockquote>
     </dd>

    
    
     <dt>
<em><code class="parameter">overwrite</code></em></dt>

     <dd>

      <p class="para">
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.dbplus-rcreate-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-function.dbplus-rcreate-notes">
  <h3 class="title">注释</h3>
  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">此函数是<em class="emphasis">实验性</em>的。此函数的表象，包括名称及其相关文档都可能在未来的
PHP 发布版本中未通知就被修改。使用本函数风险自担 。</p></div>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.dbplus-rchperm.html">dbplus_rchperm</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.dbplus-rcrtexact.html">dbplus_rcrtexact</a></div>
 <div class="up"><a href="ref.dbplus.html">DB++ 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
